<?php  
$cachefile = '/var/www/garryconn.com/public_html/cache/~'.$url.'.php';
$cachetime = 18000;    
if (file_exists($cachefile) && time() - $cachetime < filemtime($cachefile)) {    
include($cachefile);        
exit;    
}   
ob_start();
include('connpress/templates/head.php'); ?>
<title><?php echo $title;?></title>
<meta name="description" content="<?php echo $metadescription;?>" />
<?php include('connpress/templates/meta.php'); ?>
<div id="content">
<h2><a href="<?php echo $url;?>.php" title="<?php echo $title; ?>"><?php echo $title; ?></a></h2>
<div style="border-bottom:1px dashed #ccc;">
<p style="text-transform:uppercase;font-size:12px;color:#5f6975;"><?php echo $metadescription; ?></p>
<p style="text-transform:uppercase;font-size:11px;color:#252525;">By <a href="<?php echo $authorurl; ?>" title="<?php echo $authorname; ?>"><?php echo $authorname; ?></a> - Last updated on <?php echo date('D, M d Y g:i a'); ?></p>
</div>
<div style="margin:5px;float:left;padding-right:10px;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-3016743603316080";
/* garryconn.com post 336x280 text only */
google_ad_slot = "6813719134";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<?php echo html_entity_decode($content);
include('connpress/templates/footer.php');  
$fp = fopen($cachefile, 'w');    
fwrite($fp, ob_get_contents());    
fclose($fp);    
ob_end_flush();
?>
